package com.acsior.hibernate.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.acsior.dac.impl.hibernate.vo.GeneratorKey;

/**
 * ReplayCouponExchangeService entity. @author MyEclipse Persistence Tools
 * <b><i>powered by Belev</i></b>
 */
@Entity
@Table(name = "replay_coupon_exchange_services")
@GeneratorKey(tableName = "service_requests")
public class ReplayCouponExchangeServiceVO extends ServiceRequestVO {

	private static final long serialVersionUID = 7772579590370381916L;

	@Column(name = "quantity", nullable = false)
	private Integer quantity;

	@Column(name = "unit_price", nullable = false, scale = 4)
	private double unitPrice;

	/** default constructor */
	public ReplayCouponExchangeServiceVO() {
		super();
	}

	/** @return the quantity */
	public Integer getQuantity() {
		return this.quantity;
	}

	/** @return the unitPrice */
	public double getUnitPrice() {
		return this.unitPrice;
	}

	/** @param quantity */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	/** @param unitPrice */
	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

}